package com.soft3.yxq.generator.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 产品属性管理表
 * </p>
 *
 * @author yxq
 * @since 2024-12-20
 */
@ApiModel(value = "Propertyvalue对象", description = "产品属性管理表")
public class Propertyvalue implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "propertyvalue_id", type = IdType.AUTO)
    private Integer propertyvalueId;

    @ApiModelProperty("属性值")
    private String propertyvalueValue;

    @ApiModelProperty("关联属性id")
    private Integer propertyvaluePropertyId;

    @ApiModelProperty("关联产品id")
    private Integer propertyvalueProductId;

    public Integer getPropertyvalueId() {
        return propertyvalueId;
    }

    public void setPropertyvalueId(Integer propertyvalueId) {
        this.propertyvalueId = propertyvalueId;
    }

    public String getPropertyvalueValue() {
        return propertyvalueValue;
    }

    public void setPropertyvalueValue(String propertyvalueValue) {
        this.propertyvalueValue = propertyvalueValue;
    }

    public Integer getPropertyvaluePropertyId() {
        return propertyvaluePropertyId;
    }

    public void setPropertyvaluePropertyId(Integer propertyvaluePropertyId) {
        this.propertyvaluePropertyId = propertyvaluePropertyId;
    }

    public Integer getPropertyvalueProductId() {
        return propertyvalueProductId;
    }

    public void setPropertyvalueProductId(Integer propertyvalueProductId) {
        this.propertyvalueProductId = propertyvalueProductId;
    }

    @Override
    public String toString() {
        return "Propertyvalue{" +
            "propertyvalueId = " + propertyvalueId +
            ", propertyvalueValue = " + propertyvalueValue +
            ", propertyvaluePropertyId = " + propertyvaluePropertyId +
            ", propertyvalueProductId = " + propertyvalueProductId +
        "}";
    }
}
